Page({
    data: {

    },

    onLoad: function(a) {
        wx.hideHomeButton();
        this.setData({     
            showbar:a.showtabbar,   //底部菜单判断 
            oper_type: a.type||0,   
          });         
        this.child = this.selectComponent('#anObj');
        this.child.start({},a.type||0);

    },
    onUnload:function(){
      this.child.stopCountADown();
      this.child.stopcountTotalDown();  
    },

});